::selection{background:#f4645f;}
::-moz-selection { background:#f4645f; }
.animation {
    transition-duration: 0.5s;
    -moz-transition-duration: 0.5s; /* Firefox 4 */
    -webkit-transition-duration: 0.5s; /* Safari �? Chrome */
    -o-transition-duration: 0.5s; /* Opera */
}

.normal {
    font-weight: normal;
}
a {
    text-decoration: none;
    color: #31a3cb;
}
a:hover, a:link {
    text-decoration: none;
}

body {
    color:#505050;
    background: #ddd;
    font-family:  "Helvetica Neue","微软雅黑",Helvetica,Arial,sans-serif;
    font-weight: 300;
    letter-spacing: 0.05em;
    overflow-x: hidden;
}
.sidebar {
    margin-bottom: 0;
    padding-left:10px;
    padding-right:10px;
}
.sidebar .content h3 {
    font-weight: 300;
}
.sidebar-content {
    padding: 20px;
    padding-top: 10px;
    background-color: #f8f8f8;
    box-shadow: 0 1px 2px #aaa;
}

.nav-sidebar {
    margin-bottom: 0;
}
.nav-sidebar > li > a {
    padding: 7px 10px;
    color: #817c7c;
    font-size: 16px;
    border-bottom: 1px #ddd solid;
}

.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
    color: #ea6753;
}

div .sidebar h5 {
    margin-bottom:5px;
    padding: 10px 0 10px 0;
    font-size: 17px;
    color: #31a3cb;
    border-bottom: 3px #ccc solid;
}
div .sidebar h5.info {
    padding-top:0;
}
div .sidebar sup {
    padding-left: 5px;
    top:-8px;
}
div .sidebar form {
    width: 100%;
    margin: 7px 0 15px 0;
}
div .sidebar #search {
    width: 64%;
    display: inline-block;
    height: 30px;
}
div .sidebar button {
    width: 32%;
    float: right;
    font-size: 14px;
}

.red-btn {
    display: inline-block;
    background: #f4645f;
    color: #fafafa;
    padding: 5px 10px;
    border-radius: 2px;
    border: none;
}
.red-btn:hover {
    background: #555;
    color: #fafafa;
}
/* my info card */
.card {
    border-radius: 3px;
    border: 1px #dedede solid;
    background: #fff;
    color: #555;
    text-align: center;
    margin-top: 12px;
}
.card .header {
    background-position: top left;
    background-image: url(../img/card.png);
    background-size: cover;
    height: 148px;
}
.card .avater {
    display: inline-block;
    margin-top: -40px;
    position: relative;
    background: #fff;
    box-shadow: 0 1px #ccc;
    border-radius: 100%;
    border: 3px #fff solid;
    overflow: hidden;
}
.card img {
    display: block;
    width: 80px;
    height: 80px;
    
}
.card h3 {
    margin: 10px 0 20px;
    color: #111;
    font-weight: normal;
}
.card ul {
    list-style-type:  none;
    border-top:1px #eee solid;
    margin: 0;
    padding: 0;
}
.card ul li {
    float:left;
    width: 50%;
    padding: 8px 0;
    border-left: 1px #eee solid;
}
.card ul li b{
    font-size: 17px;
    color: #111;
}
/*******main*******/
.main-header {
    top:0;
    width: 100%;
    background: #f4645f url(../img/home.jpg);
    background-size: cover;
    margin-bottom:30px;
    border-bottom: 2px #aaa solid;
}

#blogTitle {
    position: relative;
    /*background:#333;*/
    width: 100%;
    height: 60px;
    text-align: center;
    color: #fafafa;
    margin-top: 0px;
    margin-bottom: 50px;
}
#blogTitle h2 {
    width: 100%;
    padding-top: 30px;
    font-size: 40px;
    font-weight: 300;
    margin-top: 0;
}
#blogTitle h5 {
    font-size: 20px;
    font-weight: 300;
    padding-top: 10px;
}

/*canvas气泡动画*/
#bubbleCanvas{
    position: absolute;
    top: 10px;
    left:50%;
    margin-left:-150px;
    bottom: 0;
    /*
        not be supposed on ie9&9-
      -webkit-transform: translate3d(-50%,0,0);
      -moz-transform: translate3d(-50%,0,0);
      -ms-transform: translate3d(-50%,0,0);
      -o-transform: translate3d(-50%,0,0);
    */
}

div.nav {
    margin:80px 0 0 0;
    padding: 5px;
    text-align: center;
}

div.nav  a {
    color: #fafafa;
    font-size: 18px;
    font-weight: 300;
    padding: 3px 0px;
    display: inline-block;
}
div.nav a:hover {
    color: #333;
    text-shadow: 0px 0px 10px #aaa;
}

div.main-footer {
    margin: 20px 0 0 0;
    background: #222;
    border-top: 3px #f4645f solid;
}
div.main-footer .logo {
    color: #eee;
    background: #f4645f;
    display: inline-block;
    margin-left: 5%;
    padding: 8px 16px;
    font-size: 19px;
}
div.main-footer p {
    margin: 0;
    padding: 45px 0 40px 15%;
    color: #ccc;
    font-size: 20px;
}
h5.copyright {
    color: #aaa;
    background: #151515;
    border-top: 1px #2a2a2a solid;
    padding: 20px 0;
    margin: 0;
    font-size: 13px;
    font-weight: normal;
}
h5.copyright a {
    color: #aaa;
}
h5.copyright a:hover {
    color: #ccc;
}













/* 文章列表 */
div.main-content {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 10px;
}

div.posts {
    background:#f8f8f8;
    margin-bottom: 30px;
    padding: 20px 35px 15px 35px;
    box-shadow: 0 1px 2px #aaa;
    overflow: hidden;
}
@media (max-width: 768px) {
    div.posts {
        padding: 20px 20px 15px 20px;
    }
}

div h4.posts-title {
    padding: 0 10px 0 0 ;
    text-align: center;
    font-size: 24px;
}
div h4.posts-title a {
    color: #31a3cb;
    font-weight: 300;
}
div h4.posts-title a:hover {
    color: #f4645f;
    text-shadow: 0px 0px 10px #f4645f;
}

div.posts p.descript {
    margin-bottom: 0;
    padding:5px 0px 20px 0px;
    color: #716c6c;
    line-height: 1.6;
    word-wrap:  break-word;
    font-size: 17px;
}
div.posts p.time {
    text-align: center;
    height:  auto;
    padding-top: 5px;
    padding-bottom: 15px;
    font-size: 14px;
    color: rgb(149, 149, 149);
}
div.posts-footer {
    border-top: 1px #ddd solid;
    padding: 20px 0 13px 0;
    color: #959595
}

.posts-footer a {
    color: #71a3cb;
}
.posts-footer a:hover {
    color: #f4645f;
    text-shadow: 0px 0px 10px #f4645f;
}
.posts .read {
    margin-top: 20px;
    margin-right: 10px;
    margin-bottom: 20px;
    padding: 8px 12px;
}
p.posts-cnt {
    color:#959595;
    padding-top: 0;
    font-size: 14px;
}
.posts img {
    width: 100%;
    margin-bottom: 10px;
}








.main-content em {
    font-style: normal;
    color: #fafafa;
    padding: 1px 2px;
    border-radius: 4px;
    background: #f4645f
}


.main-content .find-info {
    color: #f4645f;
    font-size: 20px;
    padding: 10px;
    background: #fafafa;
    border: 1px #ccc solid;
}


/* 分页导航 */
.page-nav {
    text-align: center;
    margin-top:0;
    margin-bottom: 30px;
    padding: 0;
    color:#fafafa;
}
.page-nav .page-pre {
    display: inline-block;
    padding: 8px 10px;
    background: #f4645f;
    margin-right: 5px;
    color:#fafafa;
}
.page-nav .page-next {
    display: inline-block;
    padding: 8px 10px;
    background: #f4645f;
    margin-left: 5px;
    color:#fafafa;
}
.page-nav .page-num {
    display: inline-block;
    padding: 8px 12px;
    background: #f4645f;
    color:#fafafa;
}
.page-pre:hover, .page-next:hover {
    background: #333;
}
.nav-info {
    text-align: center;
}
.nav-info .posts-info {
    font-size: 24px;
    color: #353535;
    padding: 10px 0px 5px 0px;
}






/* 文章 */
.main div.time {
    font-size: 12px;
    margin-right: 10px;
    color: #aaa;
}

.post h4 {
    color:#313131;
    font-size: 26px;
    margin-left:0;
    border-bottom: 2px solid #dbdbdb;
    margin-top: 40px;
    padding: 10px 0;
    font-weight: normal;
}
.article .post .header, .post .article {
    border-bottom: 1px solid #dbdbdb;
}
.post .title {
    border-left: 5px solid #ea6753;
}
.post h2 {
    color:#2ca6cb;
    padding: 15px 35px;
    margin: 0;
    font-size: 30px;
    font-weight: 300;
    text-align:  left;
}
.post .time {
    font-size: 15px;
    float: right;
    color: #777;
    margin-right: 40px;
    margin-bottom: 10px;
    padding-top: 5px;
}

.post .footer .copyinfo {
    color: #666;
    padding: 10px 20px;
    float: right
}
.post a.ret {
    display: inline-block;
    color: #2ca6cb;
    padding: 6px 10px;
    font-size: 15px;
    margin: 10px 0 10px 15px;
}
.post a.ret:hover {
    background: #2ca6cb;
    color: #fafafa;
}
.post p.para {
    font-size: 16px;
    word-wrap: break-word;
    margin: 15px 0;
    line-height: 1.8;
    color:  #514c4c;
    padding: 5px 0;
}
.post table.table {
    color:#514c4c;
    font-size: 15px;
}
.post table.table td{
    line-height: 1.5;

}

pre {
    font-size: 11px;
    border-radius:3px;
    border: none;
    border-bottom: 1px #ccc solid;
    background: #f1f1f1;
    letter-spacing: 0;
}
@media (min-width: 768px) {
    pre {
        font-size: 14px;
    }
}
code.s {
    border: 1px solid #ddd;
    font-family:  "Helvetica Neue","微软雅黑",Helvetica,Arial,sans-serif;
    font-weight: 300;
}
.post blockquote p.para-quote {
    color: #666;
    font-size: 14px;
    text-align: left;
    word-wrap: break-word;
}
.post blockquote {
    border-left:  2px solid #f4645f;
    padding: 6px 15px;
}
.post .article .txt a {
    color: #2ca6cb;
    text-decoration: none;
}
.post .article .txt a:hover {
    color: #f4645f;
    text-shadow: 0px 0px 10px #f4645f;
}
ul.para {
    word-wrap: break-word;
    padding-left: 25px;
    color:  #555;
    font-size: 16px;
}
.post .thumbnail {
    background: transparent;
    border: 1px solid #e5e5e5;
}
.post .article {
    padding: 10px 35px 35px 35px;
    margin-bottom: 10px;
}
@media (max-width: 768px) {
    .post .article {
        padding: 10px 15px 35px 15px;
        margin-bottom: 10px;
    }
}
.post {
    padding: 0;
    background: #f8f8f8;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0px 1px 2px  #aaa;
    color: #413f3f;
}


